/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import java.util.ArrayList;
import bean.*;

/**
 *
 * @author cHreS
 */
public abstract class DAOFactura {
    public static final int SQL_SERVER = 1;
    public static final int MY_SQL = 2;
    
     
     public static DAOFactura createFactura(int type) {
        DAOFactura daoFactura = null;
        switch(type){
            case SQL_SERVER: 
               daoFactura = new SQLServerDAOFactura();
                break;
            case MY_SQL:    
               // daoFactory = new MySQLDAOFactory();                 
                break;
        }
        
        return daoFactura;
    }

    public abstract DAOContenedor getDAOContenedor();
    public abstract DAOUsuario getDAOUsuario();
    public abstract DAOServicio getDAOServicio();
    public abstract DAOCliente getDAOCliente();
    public abstract DAODocumento getDAODocumento();
    public abstract DAOFacturacion getDAOFacturacion();
    
}